package com.yn.club.subject.domain.convert;

import java.time.LocalDateTime;
import java.util.List;
import com.yn.club.subject.domain.entity.SubjectInfoDO;
import com.yn.club.subject.infra.basic.entity.SubjectInfo;

import org.mapstruct.Mapper;
import com.yn.club.common.util.MapStructUtil;
/**
 * 题目信息表(SubjectInfo)DO和Entity转换
 *
 * @author YN
 * @since 2025-01-21 17:36:34
 */
@Mapper(componentModel = "spring", uses = {MapStructUtil.class})
public interface SubjectInfoDomainConverter {

  SubjectInfo convertDoToEntity(SubjectInfoDO ojb);
  
  List<SubjectInfo> convertDoToEntity(List<SubjectInfoDO> ojbs);
  
  SubjectInfoDO convertEntityToDo(SubjectInfo ojb);
  
  List<SubjectInfoDO> convertEntityToDo(List<SubjectInfo> ojbs);
  
  
}

